/**
 * 18.0 - GeoDirectory Compatibility
 */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 5px;
  margin-left: 5px;
}
p.edit-link {
  @extend .dt-btn;
  @extend %btn-links;
}
.reply {
  overflow: hidden;
  .gd_comment_replaylink {
    float: right;
    #gd_comment_replaylink {
      @extend .dt-btn;
      @extend %btn-links;
      span {
        display: none;
      }
    }
  }
}
#geodir_content {
  width: 67%;
  overflow: hidden;
  float: left;
  @extend .content-box;
}
#gd-sidebar-wrapper {
  width: 30%;
  margin-left: 3%;
  overflow: visible;
  float: left;
  .top_banner_section {
    margin-bottom: 0;
  }
}
.sidebar .widget,
.dt-sidebar .widget,
.geodir-content-right .geodir-company_info {
  @extend .content-box;
}
.geodir-common {
  @extend .container;
  margin-top: 20px;
  margin-bottom: 20px;
}
.geodir-breadcrumb {
  @extend .container;
  margin-bottom: -20px;
}
ul.geodir-loginbox-list,
ul#breadcrumbs {
  margin: 0;
}
.geodir_full_page section.widget,
.geodir_preview_section {
  @extend .container;
}
.geodir_preview_section {
  border: none;
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}
.geodir_preview_section form {
  margin-bottom: 0;
}
.geodir_full_page .geodir_map_container {
  margin: 0 auto;
}
.geodir_full_page .geodir-category-list-in {
  @extend .content-box;
  ul li {
    list-style-type: none;
    &:first-child {
      padding-left: 0;
    }
    img {
      margin-right: 5px;
    }
  }
}
.geodir_full_page .geodir-loc-bar,
.geodir_preview_section form {
  @extend .content-box;
}
.near-compass .fa {
  font-size: 30px;
}
.geodir_full_page .geodir-search {
  width: 100%;
  margin: 0;
  input[type="text"] {
    width: 28%;
    border: 1px solid #e6e6e6;
  }
  select {
    border: 1px solid #e6e6e6;
  }
}
#geodir-add-listing-submit {
  text-align: left;
  width: 70%;
  float: right;
}
.geodir-loginbox-list li {
  border-bottom: none;
}
//border less grids
.geodir_category_list_view li.geodir-gridview {
  border: none;
}
.geodir-search .snear.near-country, .gd-small-country {
  opacity: 0.6;
}
#primary-nav .sub-menu {
  .geodir_location_tab_container {
    background: $p-nav-submenu-bg-color;
  }
  .geodir-chosen-container a {
    background: #FFFFFF;
    &:hover {
      background: #FFFFFF;
    }
  }
}
#menu-item-gd-location-switcher .geodir_location_tab_container dd.geodir_location_tabs a {
  border: none;
  border-left: 1px solid #ccc;
  &:hover {
    background: #FFFFFF;
  }
}
ul.geodir-tabs-content {
  border: none;
}
dl.geodir-tab-head {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
dl.geodir-tab-head dd {
  margin-bottom: -1px;
  height: auto;
}
dl.geodir-tab-head:before,
dl.geodir-tab-head:after {
  display: table;
  content: "";
  line-height: 0;
}
dl.geodir-tab-head:after {
  clear: both;
}
dl.geodir-tab-head dt {
  display: none;
}
dl.geodir-tab-head dd a {
  border: none;
  height: auto;
  line-height: inherit;
  padding: 10px 15px;
}
dl.geodir-tab-head dd.geodir-tab-active a {
  border: 1px solid #eee;
  border-bottom-color: transparent;
  border-radius: 4px 4px 0 0;
}
dl.geodir-tab-head dd:last-child {
  border-right: none;
}
#geodir_content.gdbp-listings-page .geodir_category_list_view li,
.geodir_category_list_view li {
  border-bottom: 1px solid #eee;
  &:last-child {
    border-bottom: none;
  }
}
.bestof-tabs-on-left {
  dl.geodir-tab-head {
    border-right: 1px solid #eee;
    margin-right: 20px;
    border-bottom: none;
    margin-bottom: 0;
  }
  dl.geodir-tab-head dd {
    margin-right: -1px;
    height: auto;
  }
  .geo-bestof-contentwrap {
    border: none;
  }
  dl.geodir-tab-head dd a {
    border: none;
    height: auto;
    line-height: inherit;
    padding: 10px 15px;
  }
  dl.geodir-tab-head dd.geodir-tab-active a {
    border: 1px solid #eee;
    border-right-color: transparent;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    border-left: 1px solid #eee !important;
  }
}
.geo-bestof-contentwrap {
  border: none;
}
.Navi,
.nav-links {
  border-top: 1px #eee solid;
  padding-top: 20px;
  overflow: hidden;
  a, strong.on, .current, .dots {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #eee;
    border-right: none;
  }
  a:first-child, strong.on:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  a:last-child, strong.on:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-right: 1px solid #eee;
  }
}
//slider
.geodir_flexslider {
  background: transparent;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.geodir_flex-container {
  background-color: #f3f2f0;
  padding: 20px;
  border: 1px solid #d4d2d0;
  border-radius: 4px;
}
.geodir_flex-loader, .geodir-listing-flex-loader {
  background: transparent;
  margin: -20px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#geodir_carousel {
  margin-top: 10px;
  li {
    border: none;
  }
}
//comments
#comments {
  ul.rate-area-list {
    margin: 0;
  }
  .gd-rate-category {
    ul.rate-area-list {
      margin: 0;
    }
  }
  &.comments-area {
    border-top: none;
  }
  h3#reply-title {
    font-size: 18px;
  }
  .logged-in-as {
    margin: 0;
  }
  #rating_frm {
    margin-top: 0 !important;
  }
  .gd-rate-category {
    margin: 15px 0;
    .gd-ratehead {
      margin-bottom: 10px;
    }
  }
  .gd-rate-cat-in {
    border: 1px solid #eee;
    border-top: none;
    padding: 10px;
    &:first-child {
      border-top: 1px solid #eee;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
    }
    &:last-child {
      border-bottom-right-radius: 4px;
      border-bottom-left-radius: 4px;
    }
    span.lable {
      min-width: 100px;
      width: 47% !important;
      float: left;
      padding: 0;
      line-height: 30px;
    }
    select {
      width: 50%;
      float: left;
    }
  }
  .gd-rate-area {
    .gd-ratehead {
      padding: 0;
      width: 47%;
      float: left;
      line-height: 30px;

    }
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 10px;
  }
}
#comment_sorting_form {
  overflow: hidden;
}
.gd-rate-area span.gd-ratehead,
.gd-rating-box-in-right span.gd-ratehead,
.gd-rate-category span.gd-ratehead {
  font: inherit;
  font-weight: normal;
}
// comment list
#comments {
  clear: both;
  .comments-title {
    span {
      display: none;
    }
  }
  .overall-more-rating {
    margin: 0;
  }
  .comment-links {
    overflow: hidden;
    width: auto;
    margin-left: 75px;
    .reply {
      margin-left: auto;
      float: right;
    }
  }
  ol.commentlist {
    margin: 0;
    .avatar {
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }
  }
  .gdreview_section {
    background: transparent !important;
  }
  .comments_review_likeunlike {
    float: none;
    span img {
      display: block;
    }
    [id*="unlike-"] img {
      position: relative;
      top:5px;
    }
  }
}
#reviewsTab #comments {
  p.edit-link {
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ccc;
    a {
      color: #777;
    }
  }
}
//reviews
#reviewsTab {
  .gdbp-wrapper-reviews .comments-area {
    border-top: none;
    li {
      margin-left: 0;
    }
  }
  ol.commentlist {
    .comment-meta {
      .item {
        display: none;
      }
    }
    li {
      list-style-type: none;
      border-bottom: 1px solid #eee;
      &:last-child {
        border-bottom: none;
      }
    }
  }
  .comments-area {
    article {
      header {
        cite,
        time,
        span.item {
          margin: 0;
          margin-right: 20px;
          display: inline-block;
          float: left;
        }
        cite {
          b, span {
            display: inline-block;
            float: left;
          }
        }
      }
    }
    .bypostauthor cite span {
      color: $body-color;
      background-color: #f3f2f0;
      border: 1px solid #d4d2d0;
      position: relative;
    }
    .comment-content {
      width: auto;
      margin-left: 75px;
      .comment_more_ratings {
        padding: 0;
        margin: 0;
        border-top: none;
        .gd_ratings_module_box,
        .place-gallery {
          width: 100%;
          float: none;
          border: none;
        }
        .place-gallery {
          overflow: hidden;
          border: 1px solid #eee;
          -webkit-border-radius: 4px;
          -moz-border-radius: 4px;
          border-radius: 4px;
          a {
            width: 100px;
            margin: 20px;
          }
        }
      }
      .commenttext {
        text-align: justify;
      }
    }
    .gdreview_section {
      .like_count {
        padding: 0;
      }
      .comments_likeunlike {
        padding: 0;
        margin: 0;
        margin-right: 5px;
      }
      padding: 0;
      .gd_rating_show {
        margin-bottom: 0;
      }
      span.showcommentimages {
        margin: 0;
        margin-left: 22px;
      }
    }
    .gdreview_section > .clearfix {
      width: 100%;
    }
    .gdreview_section > .clearfix:first-child {
      display: table;
    }
    .gdreview_section > .clearfix:first-child > div {
      display: table-cell;
      vertical-align: middle;
      margin: 0;
      width: 25%;
    }
    .gdreview_section > .clearfix:first-child > div.comments_likeunlike {
      width: 40%;
    }
    .gdreview_section > .clearfix:first-child > div.overall-more-rating {
      float: right;
      text-align: right;
    }
  }
}
.geodir-bestof-cat-list a span {
  line-height: 30px;
}
.Chartjs-figure {
  overflow: hidden;
}

//buddypress
a.bp-title-button {
  @extend .dt-input;
}
#buddypress {
  div.activity-comments {
    div.acomment-avatar img {
      height: auto;
      width: auto;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }
    form .ac-textarea {
      background: transparent;
      border: none;
      margin-bottom: 10px;
      padding: 0;
      textarea {
        @extend .dt-textarea;
        padding: 6px;
      }
    }
  }
  .activity-list li.mini {
    font-size: 100%;
    .activity-avatar img.avatar {
      height: auto;
      margin-left: 0;
      width: auto;
    }
  }
  #activity-stream {
    .activity-header {
      margin-bottom: 3px;
      p {
        margin: 0;
      }
    }
    .activity-inner {
      margin: 0;
      margin-top: -10px;
    }
    .activity-meta {
      margin: 0;
      a.button {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
      }
    }
  }
  #item-body form#whats-new-form {
    margin-bottom: 20px;
    margin-top: 30px;
  }
  form#whats-new-form #whats-new-content {
    padding-bottom: 0;
  }
  div .item-list-tabs ul {
    border-bottom: 1px solid #ddd;
    > li {
      float: left;
      // Make the list-items overlay the bottom border
      margin-bottom: -1px;

      // Actual tabs (as links)
      > a {
        position: relative;
        display: block;
        padding: 10px 15px;
        margin-right: 2px;
        line-height: 1.42857143;
        border: 1px solid transparent;
        border-radius: 4px 4px 0 0;
        &:hover {
          border-color: #eee #eee #ddd;
        }
      }

      // Active state, and its :hover to override normal :hover
      &.selected > a {
        &,
        &:hover,
        &:focus {
          color: #555;
          cursor: default;
          background-color: #fff;
          border: 1px solid #ddd;
          border-bottom-color: transparent;
          opacity: 1;
          font-weight: normal;
        }
      }
    }
    &:before,
    &:after {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      clear: both;
    }
  }
  div#item-header img.avatar,
  #whats-new-avatar img {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  div.item-list-tabs#subnav {
    margin-top: 25px;
  }
  div.item-list-tabs#subnav ul li.last {
    margin-top: 0;
  }
  div.item-list-tabs#subnav ul li#activity-filter-select label,
  div.item-list-tabs#subnav ul li#members-order-select label {
    display: none;
  }
  .activity-list .activity-avatar img {
    border-radius: 4px;
  }
  form#whats-new-form {
    textarea {
      -webkit-box-sizing: content-box;
      -moz-box-sizing: content-box;
      box-sizing: content-box;
    }
    input[type=submit] {
      @extend .dt-btn;
      margin-right: 7px;
    }
  }
  #whats-new:focus {
    outline: 0;
    border-color: #CCCCCC !important;
  }
  ul.item-list {
    border-top: none;
    li:last-child {
      border-bottom: none;
    }
  }
  .standard-form {
    input[type=color],
    input[type=date],
    input[type=datetime-local],
    input[type=datetime],
    input[type=email],
    input[type=month],
    input[type=number],
    input[type=password],
    input[type=range],
    input[type=search],
    input[type=tel],
    input[type=text],
    input[type=time],
    input[type=url],
    input[type=week] {
      @extend .dt-input;
    }
    textarea,
    textarea:focus {
      @extend .dt-textarea;
      width: 100%;
    }
    div.submit input {
      @extend .dt-btn;
    }
  }
  .dir-search {
    input[type=search],
    input[type=text] {
      @extend .dt-input;
    }
  }
  .groups-members-search {
    input[type=search],
    input[type=text] {
      @extend .dt-input;
    }
  }
  .comment-reply-link,
  button,
  div.generic-button a,
  input[type=button],
  input[type=reset],
  input[type=submit],
  ul.button-nav li a {
    @extend .dt-btn;
    width: auto;
    height: auto;
    line-height: 16px;
  }
  #bp-browse-button {
    display: inline-block;
    float: none;
  }
  input[type=submit]#notification-bulk-manage {
    @extend .dt-btn;
  }
  .acomment-options,
  div.activity-comments div.acomment-content {
    margin: 0 0 0 60px;
  }
  div.activity-comments div.acomment-meta,
  div.activity-comments div.acomment-content {
    font-size: 100%;
  }
  div.activity-comments {
    margin-top: 20px;
  }
  div.activity-comments>ul>li:first-child {
    border-top: 1px solid #eee;
  }

}
//buddypress integration addon
#item-body {
  overflow: hidden;
}
.gdbp-wrapper-content {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
#geodir_content.gdbp-listings-page .geodir_category_list_view li,
.geodir_category_list_view li {
  border: none;
}
.geodir_category_list_view li .geodir-post-img {
  border: 1px #e1e1e1 solid;
}
.geodir_category_list_view li .geodir-post-img .geodir_thumbnail {
  min-width: 100%;
  max-width: 100%;
  margin: 0;
}
.geodir_category_list_view li.geodir-gridview .geodir-post-img .geodir_thumbnail {
  border: 1px #e1e1e1 solid;
}
.gdbp-listings-page .geodir_category_list_view h3.geodir-entry-title {
  margin-top: 5px !important;
}
.gdbp-listings-page .geodir_category_list_view li .geodir-addinfo span.geodir-authorlink {
  margin-left: 2px;
}
.geodir_category_list_view li.geodir-gridview .geodir-addinfo i,
.gdbp-listings-page .geodir_category_list_view li.geodir-listview .geodir-addinfo i {
  margin-right: 5px;
}
.gdbp-listings-page .geodir_category_list_view li .geodir-addinfo a.geodir-pcomments,
.gdbp-listings-page .geodir_category_list_view li .geodir-addinfo span {
  line-height: 22px !important;
}

#post_mapTab {
  img.adp-marker {
    height: 30px;
    padding: 5px;
  }
  .adp-placemark {
    background: #f3f2f0;
    border: 1px solid #d4d2d0;
    border-radius: 4px;
    border-collapse: inherit;
  }
  .adp, .adp table {
    font-family: $font-family;
  }
  .adp-step, .adp-substep {
    padding: 8px 3px;
  }
  .geodir_map_container {
    input[type="text"] {
      margin-top: 10px;
      width: 82%;
    }
    input[type="button"] {
      margin-top: 10px;
      float: right;
    }
    #directions-options {
      margin-bottom: 10px;
      overflow: hidden;
      clear: both;
      select {
        margin-top: 10px;
        float: left;
        margin-right: 1%;
      }
      select:last-child {
        margin-right: 0;
        width: 40%;
      }
    }
  }
}
#reviewsTab {
  #comments .comments-title {
    margin-top: 0;
  }
  #respond {
    margin-top: 50px;
  }
  .gd-rating-overall-rating,
  .gd_ratings_module_box {
    display: block;
    width: 50%;
    float: left;
  }
  .gd_ratings_module_box {
    h4 {
      font-size: 16px;
      font-weight: normal;
      color: $body-color;
      margin-top: 0;
      margin-bottom: 10px;
    }
    span.lable {
      float: left;
    }
  }
  .gd-rating-overall-rating {
    .gd-rating-overall-rating-title {
      font-size: 16px;
      margin-top: 0;
      margin-bottom: 10px;
      display: block;
    }
  }
  .comments-area article header {
    font-size: 15px;
    margin-bottom: 10px;
    cite {
      margin-right: 10px;
    }
    time {
      color: $body-color;
    }
  }
  ol.children li {
    margin-right: 0;
  }
  ol.children li:first-child {
    border-top: 1px solid #eee;
  }
}
#comments .comment_more_ratings .gd_ratings_module_box h4 {
  font-size: 15px;
  font-weight: normal;
  margin-top: 10px;
}

//widgets
#gd-sidebar-wrapper {
  .geodir-category-list-in {
    margin-top: 0;
  }
  ul {
    list-style: none;
    margin: 0;
  }
  .geodir-search {
    margin-right: 10px;
  }
  .geodir-loc-bar {
    padding: 0;
    margin: 0;
    border: none;
  }
  .customize_filter-in {
    width: 100%;
    padding: 5px;
  }
  .customize_filter_inner {
    padding: 5px;
  }
  .geodir-advance-search {
    padding: 5px;
    input {
      margin-bottom: 0;
      width: 100%;
    }
  }
  .widget .widget {
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
  .geodir_reviewer_text {
    margin: 0;
  }
}
#geodir-add-listing-submit {
  text-align: center;
  width: 100%;
  float: none;
}

ul.geodir_recent_reviews li {
  border-bottom: 1px solid #eee;
  &:last-child {
    border-bottom: none;
  }
}

.geodir_reviewer_image {
  width: 20%;
  img {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
}
.geodir_reviewer_content {
  width: 76%;
}

.geodir-chosen-container-single .chosen-search input[type="text"] {
  float: none;
}
#geodir_wrapper {
  clear: both;
}
ul.treeview {
  list-style: none;
  input[type="checkbox"] {
    margin-left: 0;
  }
}
.map_category input[type="text"] { margin-bottom: 10px; }

//footer widgets
.footer-widgets {
  .geodir-loc-bar {
    padding: 0;
    margin: 0;
    border: none;
    input[type="text"],
    input[type="password"],
    select,
    input[type="button"] {
      width: 100%;
    }
  }
  .customize_filter-in {
    width: 100%;
    padding: 5px;
    background: transparent;
    border: none;
  }
  .customize_filter ul li {
    border: none;
  }
  .geodir-loc-bar-in {
    background: transparent;
    border: none;
  }
  .geodir-search {
    margin-right: 10px;
  }
}

.geodir_preview_section h5.geodir_information {
  margin: 0;
}
.geodir_preview_section h5.geodir_information {
  color: #757575;
}
#geodir_content .geodir_preview_section {
  width: auto;
  margin-top: 0;
}
#menu-item-gd-location-switcher .geodir_location_tab_container dd.geodir_location_tabs a,
#menu-item-gd-location-switcher .geodir_location_tab_container dd.geodir_location_tabs a:hover {
  background: #fff !important;
}
#primary-nav .sub-menu .geodir-chosen-container a,
#primary-nav .sub-menu .geodir-chosen-container a:hover {
  background: #fff !important;
}
#menu-item-gd-location-switcher .geodir_location_sugestion .geodir-chosen-container .chosen-drop li {
  margin: 0;
  padding: 5px 6px;
  list-style: none;
  line-height: 15px;
}
.geodir-chosen-container .chosen-results li.highlighted {
  background-image: none;
  background-color: $header-bg-color;
}
#reviewsTab .normal-comments ol.commentlist li {
  border-bottom: none;
  margin-left: 0;
  margin-right: 0;
}
#reviewsTab .normal-comments ol.children li:first-child {
  border-top: none;
}
//.geodir_category_list_view li.geodir-gridview.gridview_onehalf .geodir-post-img {
//  height: 300px;
//}
//.geodir_category_list_view li.geodir-gridview.gridview_onethird .geodir-post-img {
//  height: 200px;
//}
//.geodir_category_list_view li.geodir-gridview.gridview_onefourth .geodir-post-img {
//  height: 150px;
//}
.geodir_popular_post_category {
  h3.widget-title {
    margin-top: 0;
  }
}
.geodir_full_page {
  .geodir_popular_post_category {
    h3.widget-title {
      margin-top: 0;
    }
    .geodir-cat-list ul li {
      padding-left: 0;
    }
    .geodir-cat-list ul.geodir-popular-cat-list {
      margin-left: 20px;
      margin-top: 10px;
      margin-bottom: 10px;
      overflow: hidden;
    }
  }
}
select.geodir-cat-list-tax {
  float: none;
}
.geodir-content p {
  font-size: 14px;
}
.geodir_Star {
  background-color: rgba(0,0,0,0.2);
}
#simplemodal-container .row {
  margin-left: 0;
}
.geodir_map_container .main_list img {
  margin-right: 7px;
  position: relative;
  top: 3px;
}
.map-category-listing {
  min-width: 200px;
}
.geodir-loc-bar {
  .customize_filter-in {
    width: 100%;
    ul {
      margin-left: 0;
      list-style-type: none;
    }
  }
}